<%--
  Created by IntelliJ IDEA.
  User: LMY
  Date: 2025/6/21
  Time: 22:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
      <title>el标签获取四个常用域对象</title>
  </head>
  <%
    request.setAttribute("k1", "request-k1数据");
    pageContext.setAttribute("k1", "pageContext-k1数据");
    session.setAttribute("k1", "session-k1数据");
    application.setAttribute("k1", "application-k1数据");
  %>
  <body>
request.k1: ${requestScope.k1}<br/>
pageContext.k1: ${pageScope.k1}<br/>
session.k1: ${sessionScope.k1}<br/>
application.k1: ${applicationScope.k1}
  </body>
</html>
